package com.boot.system.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * @author yangfan
 * @date 2024/1/6
 * @Description
 */
@Data
@Schema(description = "系统菜单")
public class SysMenuMetaDTO implements Serializable {
    /**
     * 菜单名称
     */
    @Schema(description = "菜单名称")
    private String title;

    /**
     * 链接地址
     */
    @Schema(description = "链接地址")
    @JsonProperty("isLink")
    private String link;

    /**
     * 菜单显示隐藏控制
     */
    @Schema(description = "菜单显示隐藏控制")
    @JsonProperty("isHide")
    private Boolean hide;

    /**
     * 路由缓冲
     */
    @Schema(description = "路由缓冲")
    @JsonProperty("isKeepAlive")
    private Boolean keepAlive;

    /**
     * 是否固定
     */
    @Schema(description = "是否固定")
    @JsonProperty("isAffix")
    private Boolean affix;

    /**
     * 是否内嵌
     */
    @Schema(description = "是否内嵌")
    @JsonProperty("isIframe")
    private Boolean iframe;

    /**
     * 权限标识
     */
    @Schema(description = "权限标识")
    private String permissions;

    /**
     * 图标
     */
    @Schema(description = "图标")
    private String icon;

}
